<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.5"/>
<title>xilocp: xocp_keymgmt.c File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
  $(window).load(resizeHeight);
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="HTML_custom.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="xlogo_bg.png"/></td>
  <td style="padding-left: 0.5em;">
   <div id="projectname">xilocp
   </div>
   <div id="projectbrief">Vitis Drivers API Documentation</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.5 -->
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Overview</span></a></li>
      <li><a href="globals.html"><span>APIs</span></a></li>
      <li><a href="files.html"><span>File&#160;List</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;"
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('xocp__keymgmt_8c.html','');});
</script>
<div id="doc-content">
<div class="header">
  <div class="headertitle">
<div class="title">xocp_keymgmt.c File Reference</div>  </div>
</div><!--header-->
<div class="contents">
<a name="details" id="details"></a><h2 class="groupheader">Overview</h2>
<div class="textblock"><p>This file contains the implementation of the interface functions for key management related to DEVIK and DEVAK. </p>
<pre>
MODIFICATION HISTORY:</pre><pre>Ver   Who  Date     Changes
----- ---- -------- -------------------------------------------------------
1.0   vns  07/08/22 Initial release
1.1   vns  12/27/22 Skips the device key generation if CDI is not valid
      vns  01/10/23 Adds logic to generate the DEVAK on subsystem based.
1.2   har  02/24/23 Added logic to get index of usr cfg for requested subsystem ID
      vns  07/06/23 Added DEVAK regenerate support and Data clear before shutdown
      am   07/20/23 Cleared DICE_CDI seed
      kpt  07/25/23 Add redundancy for key generation APIs
      yog  08/07/23 Replaced trng API calls using trngpsx driver
      am   09/04/23 Added XOcp_ValidateDiceCdi function
1.3   kpt  11/06/23 Add support to run ECC KAT before attestation
      kpt  11/24/23 Replace Xil_SMemSet with Xil_SecureZeroize
      ng   02/12/24 optimised u8 vars to u32 for size reduction
      am   02/14/24 Fixed internal security review comments
      kpt  02/21/24 Add support for DME CSR extension
1.4   har  06/04/24 Add support to store personalization string for additional DevAk
                    Add support to generate additional DevAk for key wrap
      har  07/19/24 Fixed issue in generating certificates for multiple subsystem
      har  08/08/24 Update FwHash for both DevIk certificate and DevIk CSR
      vss  09/23/24 Modified code as per security best practices
      kpt  12/03/24 Updated IsCsr value to False during DevAk certificate generation</pre><pre></pre> <dl class="section note"><dt>Note</dt><dd></dd></dl>
</div></div><!-- contents -->
</div><!-- doc-content -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
	<p class="footer">&copy; Copyright 2015-2022 Xilinx, Inc. All Rights Reserved.</p>
	<p class="footer">&copy; Copyright 2022-2023 Advanced Micro Devices, Inc. All Rights Reserved.</p>
</div>
</body>
</html>
